<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>用户管理</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body onload="PR.prettyPrint()">
<nav class="navbar">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="index.html">
                享学课堂-小米商城项目-mall-account
            </a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="https://github.com/YeDaxia/JApiDocs" target="_blank">GitHub</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">V1.0<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                            <li><a href="../mall-account.iml/index.html">mall-account.iml</a></li>
                            <li><a href="../pom.xml/index.html">pom.xml</a></li>
                            <li><a href="../src/index.html">src</a></li>
                            <li><a href="../target/index.html">target</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="book with-summary">
    <div class="book-summary">
<div class="search-box form-group">
    <input type="text" class="form-control" id="inputSearch" placeholder="搜索接口">
    <span class="glyphicon glyphicon-search form-control-feedback" aria-hidden="true"></span>
</div>
<div id="accordion" class="catalog">
        <div class="panel">
            <div id="heading0" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse0" aria-controls="collapse0">
                <i class="glyphicon glyphicon-align-justify"></i> AccessToken管理
            </div>
            <div id="collapse0" class="collapse in " aria-labelledby="heading0">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_AccessTokenController.html#token">
                        授权码模式生成AccessToken
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_AccessTokenController.html#userInfo">
                        根据AccessToken获取用户信息
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_AccessTokenController.html#logout">
                        用户登出
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading1" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse1" aria-controls="collapse1">
                <i class="glyphicon glyphicon-align-justify"></i> 鉴权管理
            </div>
            <div id="collapse1" class="collapse " aria-labelledby="heading1">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_AuthorizeController.html#authorize">
                        校验是否登录及后去授权码
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading2" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse2" aria-controls="collapse2">
                <i class="glyphicon glyphicon-align-justify"></i> 图片上传
            </div>
            <div id="collapse2" class="collapse " aria-labelledby="heading2">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_CommonController.html#upload">
                        图片上传
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_CommonController.html#handleFileUpload">
                        图片批量上传
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_CommonController.html#error404">
                        error404
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_CommonController.html#error500">
                        error500
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading3" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse3" aria-controls="collapse3">
                <i class="glyphicon glyphicon-align-justify"></i> 登录管理
            </div>
            <div id="collapse3" class="collapse " aria-labelledby="heading3">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#getLoginResource">
                        获取用户菜单
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#getFileServerUrl">
                        获取图片上传地址
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#unLogin">
                        没有登录
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#accessDenied">
                        没有权限,请重新登陆
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#logined">
                        已经登陆成功
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#toLogin">
                        用户登录
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#logout">
                        用户登出
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_LoginController.html#getResourceByParentId">
                        获取父节点的菜单信息
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading4" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse4" aria-controls="collapse4">
                <i class="glyphicon glyphicon-align-justify"></i> 用户管理
            </div>
            <div id="collapse4" class="collapse in " aria-labelledby="heading4">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_PersonalController.html#getPersonInfo">
                        获取用户详细信息
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_PersonalController.html#updatePersonalInfo">
                        修改用户、部门、角色信息
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_PersonalController.html#updateUserInfo">
                        修改用户信息
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading5" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse5" aria-controls="collapse5">
                <i class="glyphicon glyphicon-align-justify"></i> 系统管理
            </div>
            <div id="collapse5" class="collapse " aria-labelledby="heading5">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_SystemController.html#getConfig">
                        获取工程配置信息
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_SystemController.html#logout">
                        用户登出
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading6" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse6" aria-controls="collapse6">
                <i class="glyphicon glyphicon-align-justify"></i> 用户管理
            </div>
            <div id="collapse6" class="collapse " aria-labelledby="heading6">
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#addUser">
                        新增用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#searchUsers">
                        查询用户列表
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#searchUserList">
                        全量查询用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#detailUser">
                        查询用户详情
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#delete">
                        删除用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#update">
                        修改用户、部门、角色
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#batchDelete">
                        批量删除用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#getUserByIdentityCode">
                        根据用户编码查询用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#queryTimeExtralPage">
                        工时补录查询
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#resetPassword">
                        重置密码
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#updatePassword">
                        密码修改
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#queryContactsPage">
                        通讯录查询
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#freezeUser">
                        冻结和解冻用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#register">
                        注册用户
                    </a>
                    <a class="catalog-item" href="cn_enjoy_sys_controller_UserController.html#getUserInfo">
                        获取用户信息
                    </a>
            </div>
        </div>
</div>    </div>
    <div class="book-body">
        <div class="body-inner">
            <div class="book-header">
                <div class="d-flex justify-content-between">
                    <a class="header-menu toggle-catalog" href="javascript:void(0)"><i
                            class="glyphicon glyphicon-align-justify"></i> 目录</a>
                </div>
            </div>
            <div class="page-wrapper">
                <div class="page-inner">
                    <div class="action-list">
                        <div class="action-item">
<h2 id="getPersonInfo"><a href="#">获取用户详细信息 </a></h2>
    <p class="text-muted"><em>作者: Jack</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/personal/getPersonalInfo</code>
        <span class="label label-default">GET</span>
</p>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"code":"string",
	"msg":"string",
	"data":{}
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/cn_enjoy_sys_controller_PersonalController_getPersonInfo_cn.enjoy.core.utils.response.HttpResponseBody.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/cn_enjoy_sys_controller_PersonalController_getPersonInfo_cn.enjoy.core.utils.response.HttpResponseBody.html"><i class="fa fa-apple"
                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="updatePersonalInfo"><a href="#">修改用户、部门、角色信息 </a></h2>
    <p class="text-muted"><em>作者: Jack</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/personal/updatePersonalInfo</code>
        <span class="label label-default">POST</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>departIds</td>
                        <td>string[]</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleIds</td>
                        <td>string[]</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>id</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>userName</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>password</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>passwordRand</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>realName</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>mobile</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>email</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>orgCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>identityCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>sysCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>status</td>
                        <td>int</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>validateCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>activatedTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>createTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>createUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>updateTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>updateUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>birthday</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>captcha</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>captchaTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>qq</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>wx</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>icon</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>positionLevel</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>positionLevelStr</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>principals</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>loginAccount</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.id</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.roleCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.roleName</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.roleDesc</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.sysCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.createTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.createUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.updateUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.updateTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.isdefault</td>
                        <td>byte</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleIds</td>
                        <td>string[]</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>isCanLogin</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"code":"string",
	"msg":"string"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/cn_enjoy_sys_controller_PersonalController_updatePersonalInfo_cn.enjoy.core.utils.response.HttpResponseBody.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/cn_enjoy_sys_controller_PersonalController_updatePersonalInfo_cn.enjoy.core.utils.response.HttpResponseBody.html"><i class="fa fa-apple"
                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="updateUserInfo"><a href="#">修改用户信息 </a></h2>
    <p class="text-muted"><em>作者: Jack</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/personal/updateUserInfo</code>
        <span class="label label-default">POST</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>id</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>userName</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>password</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>passwordRand</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>realName</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>mobile</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>email</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>orgCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>identityCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>sysCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>status</td>
                        <td>int</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>validateCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>activatedTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>createTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>createUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>updateTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>updateUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>birthday</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>captcha</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>captchaTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>qq</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>wx</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>icon</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>positionLevel</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>positionLevelStr</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>principals</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>loginAccount</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.id</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.roleCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.roleName</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.roleDesc</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.sysCode</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.createTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.createUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.updateUser</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.updateTime</td>
                        <td>date</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleList.isdefault</td>
                        <td>byte</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>roleIds</td>
                        <td>string[]</td>
                        <td>否</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>isCanLogin</td>
                        <td>string</td>
                        <td>否</td>
                        <td></td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"code":"string",
	"msg":"string"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/cn_enjoy_sys_controller_PersonalController_updateUserInfo_cn.enjoy.core.utils.response.HttpResponseBody.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/cn_enjoy_sys_controller_PersonalController_updateUserInfo_cn.enjoy.core.utils.response.HttpResponseBody.html"><i class="fa fa-apple"
                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
<script>

    var search_source_data = [
            {name: 'AccessToken管理.授权码模式生成AccessToken', url: 'cn_enjoy_sys_controller_AccessTokenController.html#token'},
            {name: 'AccessToken管理.根据AccessToken获取用户信息', url: 'cn_enjoy_sys_controller_AccessTokenController.html#userInfo'},
            {name: 'AccessToken管理.用户登出', url: 'cn_enjoy_sys_controller_AccessTokenController.html#logout'},
            {name: '鉴权管理.校验是否登录及后去授权码', url: 'cn_enjoy_sys_controller_AuthorizeController.html#authorize'},
            {name: '图片上传.图片上传', url: 'cn_enjoy_sys_controller_CommonController.html#upload'},
            {name: '图片上传.图片批量上传', url: 'cn_enjoy_sys_controller_CommonController.html#handleFileUpload'},
            {name: '图片上传.error404', url: 'cn_enjoy_sys_controller_CommonController.html#error404'},
            {name: '图片上传.error500', url: 'cn_enjoy_sys_controller_CommonController.html#error500'},
            {name: '登录管理.获取用户菜单', url: 'cn_enjoy_sys_controller_LoginController.html#getLoginResource'},
            {name: '登录管理.获取图片上传地址', url: 'cn_enjoy_sys_controller_LoginController.html#getFileServerUrl'},
            {name: '登录管理.没有登录', url: 'cn_enjoy_sys_controller_LoginController.html#unLogin'},
            {name: '登录管理.没有权限,请重新登陆', url: 'cn_enjoy_sys_controller_LoginController.html#accessDenied'},
            {name: '登录管理.已经登陆成功', url: 'cn_enjoy_sys_controller_LoginController.html#logined'},
            {name: '登录管理.用户登录', url: 'cn_enjoy_sys_controller_LoginController.html#toLogin'},
            {name: '登录管理.用户登出', url: 'cn_enjoy_sys_controller_LoginController.html#logout'},
            {name: '登录管理.获取父节点的菜单信息', url: 'cn_enjoy_sys_controller_LoginController.html#getResourceByParentId'},
            {name: '用户管理.获取用户详细信息', url: 'cn_enjoy_sys_controller_PersonalController.html#getPersonInfo'},
            {name: '用户管理.修改用户、部门、角色信息', url: 'cn_enjoy_sys_controller_PersonalController.html#updatePersonalInfo'},
            {name: '用户管理.修改用户信息', url: 'cn_enjoy_sys_controller_PersonalController.html#updateUserInfo'},
            {name: '系统管理.获取工程配置信息', url: 'cn_enjoy_sys_controller_SystemController.html#getConfig'},
            {name: '系统管理.用户登出', url: 'cn_enjoy_sys_controller_SystemController.html#logout'},
            {name: '用户管理.新增用户', url: 'cn_enjoy_sys_controller_UserController.html#addUser'},
            {name: '用户管理.查询用户列表', url: 'cn_enjoy_sys_controller_UserController.html#searchUsers'},
            {name: '用户管理.全量查询用户', url: 'cn_enjoy_sys_controller_UserController.html#searchUserList'},
            {name: '用户管理.查询用户详情', url: 'cn_enjoy_sys_controller_UserController.html#detailUser'},
            {name: '用户管理.删除用户', url: 'cn_enjoy_sys_controller_UserController.html#delete'},
            {name: '用户管理.修改用户、部门、角色', url: 'cn_enjoy_sys_controller_UserController.html#update'},
            {name: '用户管理.批量删除用户', url: 'cn_enjoy_sys_controller_UserController.html#batchDelete'},
            {name: '用户管理.根据用户编码查询用户', url: 'cn_enjoy_sys_controller_UserController.html#getUserByIdentityCode'},
            {name: '用户管理.工时补录查询', url: 'cn_enjoy_sys_controller_UserController.html#queryTimeExtralPage'},
            {name: '用户管理.重置密码', url: 'cn_enjoy_sys_controller_UserController.html#resetPassword'},
            {name: '用户管理.密码修改', url: 'cn_enjoy_sys_controller_UserController.html#updatePassword'},
            {name: '用户管理.通讯录查询', url: 'cn_enjoy_sys_controller_UserController.html#queryContactsPage'},
            {name: '用户管理.冻结和解冻用户', url: 'cn_enjoy_sys_controller_UserController.html#freezeUser'},
            {name: '用户管理.注册用户', url: 'cn_enjoy_sys_controller_UserController.html#register'},
            {name: '用户管理.获取用户信息', url: 'cn_enjoy_sys_controller_UserController.html#getUserInfo'},
    ];



    $('.toggle-catalog').click(function () {
        $('.book').toggleClass('with-summary');
    });

    $('#inputSearch').autocomplete({hint: false}, [
        {
            source: function (query, callback) {
                var result = [];
                for(var i = 0; i !== search_source_data.length; i++){
                    if(search_source_data[i].name.indexOf(query) !== -1){
                        result.push(search_source_data[i]);
                    }
                }
                callback(result);
            },
            displayKey: 'name',
            templates: {
                suggestion: function (suggestion) {
                    return suggestion.name;
                }
            }
        }
    ]).on('autocomplete:selected', function (event, suggestion, dataset, context) {
        self.location = suggestion.url;
    });
</script>
</body>
</html>